Package-level declarations

Types

Link copied to clipboard
@Serializable
data class ConfirmIdentityVerificationResponse(val identityVerification: VerifiedIdentityVerification)

본인인증 확인 성공 응답

Link copied to clipboard
@Serializable
@SerialName(value = "FAILED")
data class FailedIdentityVerification(val id: String, val channel: SelectedChannel? = null, val requestedCustomer: IdentityVerificationRequestedCustomer, val customData: String? = null, val requestedAt: @Serializable(with = InstantSerializer::class) Instant, val updatedAt: @Serializable(with = InstantSerializer::class) Instant, val statusChangedAt: @Serializable(with = InstantSerializer::class) Instant, val failure: IdentityVerificationFailure) : IdentityVerification.Recognized

실패한 본인인증 내역

Link copied to clipboard
@Serializable(with = IdentityVerificationSerializer::class)
sealed interface IdentityVerification

본인인증 내역

Link copied to clipboard
class IdentityVerificationClient(apiSecret: String, apiBase: String = "https://api.portone.io", storeId: String? = null) : Closeable
Link copied to clipboard
@Serializable
data class IdentityVerificationFailure(val reason: String? = null, val pgCode: String? = null, val pgMessage: String? = null)

본인인증 실패 정보

Link copied to clipboard
@Serializable(with = IdentityVerificationMethodSerializer::class)
sealed interface IdentityVerificationMethod

본인인증 방식

Link copied to clipboard
@Serializable(with = IdentityVerificationOperatorSerializer::class)
sealed interface IdentityVerificationOperator

본인인증 통신사

Link copied to clipboard
@Serializable
data class IdentityVerificationRequestedCustomer(val id: String? = null, val name: String? = null, val phoneNumber: String? = null)

요청 시 고객 정보

Link copied to clipboard
@Serializable
data class IdentityVerificationVerifiedCustomer(val id: String? = null, val name: String, val operator: IdentityVerificationOperator? = null, val phoneNumber: String? = null, val birthDate: String, val gender: Gender? = null, val isForeigner: Boolean? = null, val ci: String? = null, val di: String? = null)

인증된 고객 정보

Link copied to clipboard
@Serializable
@SerialName(value = "READY")
data class ReadyIdentityVerification(val id: String, val channel: SelectedChannel? = null, val requestedCustomer: IdentityVerificationRequestedCustomer, val customData: String? = null, val requestedAt: @Serializable(with = InstantSerializer::class) Instant, val updatedAt: @Serializable(with = InstantSerializer::class) Instant, val statusChangedAt: @Serializable(with = InstantSerializer::class) Instant) : IdentityVerification.Recognized

준비 상태의 본인인증 내역

Link copied to clipboard
@Serializable
data object ResendIdentityVerificationResponse

본인인증 요청 재전송 성공 응답

Link copied to clipboard
@Serializable
data class SendIdentityVerificationBodyCustomer(val id: String? = null, val name: String, val phoneNumber: String, val identityNumber: String? = null, val ipAddress: String)

본인인증 요청을 위한 고객 정보

Link copied to clipboard
@Serializable
data object SendIdentityVerificationResponse

본인인증 요청 전송 성공 응답

Link copied to clipboard
@Serializable
@SerialName(value = "VERIFIED")
data class VerifiedIdentityVerification(val id: String, val channel: SelectedChannel? = null, val verifiedCustomer: IdentityVerificationVerifiedCustomer, val customData: String? = null, val requestedAt: @Serializable(with = InstantSerializer::class) Instant, val updatedAt: @Serializable(with = InstantSerializer::class) Instant, val statusChangedAt: @Serializable(with = InstantSerializer::class) Instant, val verifiedAt: @Serializable(with = InstantSerializer::class) Instant, val pgTxId: String, val pgRawResponse: String) : IdentityVerification.Recognized

완료된 본인인증 내역